import Vue from 'vue'
import App from './App'
import router from './router'
import 'vant/lib/index.css';
import vant from './vantui'
import './assets/css/reset.css'
import less from 'less'

Vue.use(less)

Vue.config.productionTip = false

// 全局过滤器
Vue.filter('filterMoney',function(value){
  let newVal = Number(value)
  return '￥' + newVal.toFixed(2) + '元'
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
